package com.sscw.tcp.dao;

import com.guaike.core.mybatis.plugins.BaseDAO;
import com.sscw.tcp.entity.MRecordOccupyPO;
import com.sscw.tcp.mapper.MRecordOccupyExtMapper;
import com.sscw.tcp.mapper.MRecordOccupyMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Repository;


@Repository
@AllArgsConstructor
public class MRecordOccupyDAO extends BaseDAO<MRecordOccupyMapper, MRecordOccupyPO> {

    private final MRecordOccupyExtMapper mRecordOccupyExtMapper;

    public int addPinecone(Long id, Integer pinecone) {
        return mRecordOccupyExtMapper.addPinecone(id, pinecone);
    }

}
